#ifndef AW_LOCAL_VIEWPORT_NOOS3DPROJECTION
#define AW_LOCAL_VIEWPORT_NOOS3DPROJECTION

class AW_LVP_NOOS3DProjection : public AW_LocalViewport {

public:
	AW_LVP_NOOS3DProjection(int x,int y,int dx,int dy,NOOSDistanceMatrix *m,FeatureTerm **sel_ptr);
	~AW_LVP_NOOS3DProjection();

protected:

	void update_projection(void);
	void draw_projection(void);

	virtual void draw_internal(void);
	virtual bool MouseClick_internal(int selected);

	FTFont* m_font;

	NOOSDistanceMatrix *m_matrix;
	float *m_projection_x;
	float *m_projection_y;
	float *m_projection_z;
	float *m_projection_r;
	float *m_projection_g;
	float *m_projection_b;

	FeatureTerm *m_selected_ft;
	FeatureTerm **m_selected_ptr;	// to communicate the selected feature term to the MAIN viewport

	bool m_rotation;
	float m_rotation_angle;
};

#endif

